<template>
  <div class="pageBox">
    <!-- <div class="searchBox">
      <Search :initData="searchData" @emitSearchData="getSearchData"></Search>
    </div> -->

    <div class="tableBox">
      <CustomTable :searchData="searchData"></CustomTable>
    </div>
  </div>
</template>

<script>
// import Moment from 'moment';
// import { initUserInfo } from "@/unit/tool";
// import Search from "./components/search";
import CustomTable from './components/table';

export default {
  name: 'assembleTemplate',
  components: {
    // Search,
    CustomTable,
  },
  data() {
    let moment = this.$Moment;
    return {
      userName: '',
      name: '',
      role: '',
      compId: '',
      searchData: {
        status: 0,
        startTime: '',
        endTime: '',
        keyword: '',
        param: 0,
      },
    };
  },
  methods: {
    getSearchData(obj) {
      this.searchData = { ...obj };
    },
  },
  created() {
    // initUserInfo(this);
  },
  mounted() {},
};
</script>

<style scoped="scoped">
.searchBox {
  margin-bottom: 16px;
}

.tableBox {
  padding: 16px;
  background-color: #ffffff;
}
</style>
